package com.severez.bluetoothcontroller.ble;

import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;

public class BLEListeners {
    public interface OnConnectedListener {
	public void onConnected(BluetoothGatt gatt);
    }

    public interface OnDisconnectedListener {
	public void onDisconnected(BluetoothGatt gatt);
    }

    public interface OnServiceDiscoveredListener {
	public void onServiceDiscovered(BluetoothGatt gatt);
    }

    public interface OnDataAvailableListener {
	public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status);

	public void onCharacteristicWritten(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status);

	public void onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic);
    }
}
